package com.ztgf.shopping.models.dto.shop;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户收藏表
 * DTO
 * @author zhanghualang
 * @Date 2020-05-26
 */
@Data
@TableName("shop_collect")
@ApiModel(value="用户收藏表对象", description="用户收藏表对象")
public class ShopCollectDTO extends BaseDTO implements Serializable{
    @ApiModelProperty(value = "收藏店铺id")
    private Long collectShopId;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "状态 0删除、1正常")
    private Integer status;

    @ApiModelProperty(value = "被收藏店铺id")
    private Long shopId;

    @ApiModelProperty(value = "类型：0商品、1店铺")
    private Integer type;
}
